<?php

namespace app\controller\problem;

use app\common\business\problem\ProblemBus;
use app\common\model\Problem;
use app\controller\ApiController;

class AcProblem extends ApiController
{
    /**
     * 问题管理列表
     * @return \support\Response
     */
    public function lists()
    {
        $type = request()->param('type', 1, 'intval');

        $res = ProblemBus::getLists($type);

        return self::success($res);
    }
}
